<div class="expenditures form">
<?php echo $this->Form->create('Expenditure');?>
    <fieldset>
        <legend><?php __('Consolidate'); ?></legend>
    <?php
        echo $this->Form->input('expenditure_id',array('disabled' => $status));
        echo $this->Form->input('building_id',array('disabled' => $status));
        echo $this->Form->input('expenditure_type_id',array('disabled' => $status));
        echo $this->Form->input('document_number',array('disabled' => $status));
        echo $this->Form->input('detail',array('disabled' => $status));
        echo $this->Form->input('amount',array('disabled' => $status));
        echo $this->Form->input('building_expenditure_type',array('options' => $expenditureBuildingExpenditureTypes,         array('disabled' => $status)));
        echo $this->Form->input('party_name',array('disabled' => $status));
        echo $this->Form->input('payment_date',array('disabled' => $status_conso));
        echo $this->Form->input('payment_method',array('options' => $expenditurePaymentMethods,'disabled' => $status_conso));        
		echo $this->Form->input('invoice_number',array('disabled' => $status_conso));
        echo $this->Form->input('forecast_year',array('disabled' => $status));
        echo $this->Form->input('forecast_month',array('disabled' => $status));
        echo $this->Form->hidden('created_by');
        echo $this->Form->hidden('updated_by');
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
    <h3><?php __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Expenditure.    expenditure_id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Expenditure.         expenditure_id'))); ?></li>
        <li><?php echo $this->Html->link(__('List Expenditures', true), array('action' => 'index'));?></li>
        <li><?php echo $this->Html->link(__('List Buildings', true), array('controller' => 'buildings', 'action' =>          'index')); ?> </li>  
        <li><?php echo $this->Html->link(__('List Expenditure Types', true), array('controller' => 'expenditure_types',      'action' => 'index')); ?> </li>
    </ul>
</div>     
